package com.indusfo.spc.mapper;


import com.indusfo.spc.pojo.Clint;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClintMapper {

    //添加
    int insertClint(Clint clint);

    //根据ID查找
    List<Clint> selectByClientId(Clint clint);

    //修改
    int updateClint(Clint clint);

    //查询客户端编号是否存在
    Integer selectClint(Clint clint);

    //查询总数
    int countClint(Clint clint);

    //查询所有
    List<Clint> selectAll(Clint clint);

    ////1 启用  2 删除  3停用 客户端设置
    int delteClint(@Param("clintIds") Long[] clintIds, @Param("dataState") Integer dataState);
}